home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Amiga Amateur Radio User Group
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf
/
DisView
/
IFCONFIG
< prev
next >
Wrap
Text File
|
1995-05-21
|
6KB
|
149 lines
======== DISview [518]
ifconfig
========
_________________________________________________________________
ifconfig
_________________________________________________________________
Display a list of all attached interfaces, with a short status
report for each.
>> Example of 'ifconfig' display:
.................................................................
sl0 IP addr 158.152.123.251 MTU 576 Link encap PPP
flags 0 trace 0x0 netmask 0xffffffff broadcast 158.152.255.255
sent: ip 0 tot 0 idle 0:00:00:41
recv: ip 0 tot 0 idle 0:00:00:41
loopback IP addr 127.0.0.1 MTU 65535 Link encap None
flags 0 trace 0x0 netmask 0xffffffff broadcast 255.255.255.255
sent: ip 0 tot 0 idle 0:00:00:41
recv: ip 0 tot 0 idle 0:00:00:41
encap IP addr 0.0.0.0 MTU 65535 Link encap None
flags 0 trace 0x0 netmask 0xffffffff broadcast 255.255.255.255
sent: ip 0 tot 0 idle 0:00:00:41
recv: ip 0 tot 0 idle 0:00:00:41
.................................................................
_________________________________________________________________
ifconfig <interface>
_________________________________________________________________
Display an extended status report of the interface.
>> Example: The command 'ifconfig sl0' produces a display of
the form:
.................................................................
sl0 IP addr 158.152.123.251 MTU 576 Link encap PPP
flags 0 trace 0x0 netmask 0xffffffff broadcast 158.152.255.255
sent: ip 86 tot 110 idle 0:00:00:07
recv: ip 73 tot 97 idle 0:00:00:07
Network Protocol Phase (open for 0:00:02:40)
4273 In, 18 Flags, 0 ME, 0 FE, 0 CSE, 0 other
19 Lcp, 0 Pap, 5 IPcp, 0 Unknown
3525 Out, 110 Flags, 0 ME, 0 Fail
21 Lcp, 0 Pap, 5 IPcp
LCP Opened
MRU ACCM AP PFC ACFC Magic
Local: 576 0x000a0000 None Yes Yes unused
Remote: 576 +0x000a0000 None +Yes +Yes +0x5d8e09eb
PAP Closed
Message: 'none'
IPCP Opened
local IP address:158.152.123.251 remote IP address:158.152.1.222
In TCP header compression enabled: slots = 16, flag = 0x01
1 Cmp, 12 Uncmp, 0 Bad, 0 Tossed
Out TCP header compression enabled: slots = 16, flag = 0x01
17 Cmp, 10 Uncmp, 26 AsIs, 33 NotTCP
135 Searches, 9 Misses
................................................................
_________________________________________________________________
ifconfig <interface> broadcast <broadcast_ip_address>
_________________________________________________________________
Set the broadcast address for the interface.
The <broadcast_ip_address> takes the form of an IP address with
1's in the host part of the address. This is related to the
'netmask' sub-command described below.
See also the 'arp' command.
>> Example: ifconfig sl0 broadcast 158.152.255.255
_________________________________________________________________
ifconfig <interface> encapsulation
none|ax25|encap|ether|slip|netrom|ppp
_________________________________________________________________
Sets the encapsulation for <interface>.
The 'encap' option is used when it is required to encapsulate
packets within IP datagrams.
>> Example: ifconfig sl0 encapsulation ppp
_________________________________________________________________
ifconfig <interface> forward <forward-interface>
_________________________________________________________________
Set a forwarding interface for multiple channel interfaces. When
forwarding is defined, all output destined for <interface> is
redirected to <forward-interface>.
To remove forwarding, set <forward-interface> to <interface>.
>> Example: ifconfig sl0 forward en0
_________________________________________________________________
ifconfig <interface> ipaddress <ip_address>
_________________________________________________________________
Set the IP address for this interface. For hosts with only one
interface, the interface address is usually the same as the host
address.
See also the 'hostname' and 'ip address' commands.
>> Example: ifconfig sl0 ipaddress 158.152.123.251
_________________________________________________________________
ifconfig <interface> linkaddress <ether_address>
_________________________________________________________________
Set the hardware dependent address for this interface.
>> Examples: ifconfig en0 linkaddress 00:11:22:33:44:55
_________________________________________________________________
ifconfig <interface> mtu <mtu>
_________________________________________________________________
Set the Maximum Transmission Unit (MTU) in bytes for this
interface.
See the 'attach' and 'tcp' commands for more information on MTU
settings.
>> Example: ifconfig sl0 mtu 1588
_________________________________________________________________
ifconfig <interface> netmask <hex_net_mask>
_________________________________________________________________
Set the sub-net mask for this interface. The <hex_net_mask>
takes the form of an IP address with 1's in the network and
subnet parts of the address, and 0's in the host part of the
address, expressed as a hexadecimal number. This is related to
the 'broadcast' sub-command. See also the 'route' command.
>> Example: ifconfig sl0 netmask 0xffff0000
_________________________________________________________________
ifconfig <interface> rxbuf <buffer_size>
_________________________________________________________________
Set the receive buffer size.
>> Example: ifconfig sl0 rxbuf 8192